home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1998 July
/
EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso
/
earcd
/
utils
/
madhouse
/
madregister
/
emailregister
< prev
next >
Wrap
Text File
|
1998-01-03
|
3KB
|
93 lines
; emailRegister script
; for easy usage of KeyUpdater to get the keyfile by email.
; created Jan 3th 1998 (c) Carsten Jahn
(if (= @language "deutsch") (
(set #intro
(cat "Dieses Script erzeugt die KeyRequest-Nummer, die nötig "
"ist, um das Madhouse Keyfile per email zu empfangen. "
"Schreibe die Nummer auf das Registrationsformular. Du wirst "
"eine Antwort-email erhalten, die das verschlüsselte "
"Keyfile enthält.\n"
"Speichere die email als Textdatei. "
"Starte dann dieses Script erneut und wähle die Datei, "
"das Keyfile wird nun entschlüsselt und nach S:Madhouse2.key "
"geschrieben."))
(set #yourID "\n\nDie Nummer ist:\n%s\nBitte schreibe das auf das Registrationsformular.")
(set #whattodo "Ein RequestKey wurde schon erstellt.")
(set #chdisp "RequestKey erneut anzeigen")
(set #chmake "Keyfile mit Hilfe der Antwort-email erzeugen")
(set #selmail "Wähle die email-Textdatei")
)(
(set #intro
(cat "This script is used to get an KeyRequest ID which "
"is necessary to receive your Madhouse keyfile by email. "
"Write the ID on your registration form. You'll get a "
"reply email from me, including your encrypted keyfile.\n"
"Save the email as a plain text file. Now start this script "
"again and select the file, it will decode the key and "
"write it to S:Madhouse.key2." ))
(set #yourID "\n\nYour ID is:\n%s\nPlease write it on your Registration from.")
(set #whattodo "You have generated a RequestKey already.")
(set #chdisp "Display RequestKey again")
(set #chmake "Make Keyfile, using the reply email")
(set #selmail "Select the plaintext email file")
))
(message #intro)
(if (exists "RequestKey") (
; // RequestKey schon da.
(if (= (askchoice
(prompt #whattodo)
(help "")
(default 1)
(choices #chdisp #chmake)) 1 ) (
; make
(set #inputmail (askfile
(prompt #selmail)
(help "")
(default "")
))
(run ("KeyUpdater >CON:100/100/400/150/KeyUpdater-Output/CLOSE/WAIT MAKE \"%s\"" #inputmail))
)(
; display
(copyfiles
(source "RequestKey" )
(dest "ENV:")
(nogauge)
)
(protect "ENV:RequestKey" "+w +d" )
(message (#yourID (getenv("RequestKey"))))
(delete "ENV:RequestKey")
))
)(
(run "KeyUpdater REQUEST")
(copyfiles
(source "RequestKey" )
(dest "ENV:")
(nogauge)
)
(protect "RequestKey" "-w -d" )
(message (#yourID (getenv("RequestKey"))))
(delete "ENV:RequestKey")
))
(exit (quiet))